﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BaseData.Domain
{
    /// <summary>
    /// 会议预约表
    /// </summary>
    public class MettingBooking:BaseEneity
    {
        [Key]
        public int BookId {  get; set; }

        public int MeetRoomId { get; set; }
        /// <summary>
        /// 会议模版
        /// </summary>
        public int TemplateId {  get; set; }
        /// <summary>
        /// 会议主题
        /// </summary>
        public string? Subject {  get; set; }
        /// <summary>
        /// 会议地点
        /// </summary>
        public int AddressId { get; set; }
        /// <summary>
        /// 会议主持人
        /// </summary>
        public int UserId {  get; set; }
        /// <summary>
        /// 会议开始时间
        /// </summary>
        public DateTime? StartTime { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime? EndTime { get; set; }
        /// <summary>
        /// 参与人
        /// </summary>
        public string? JoinPeople {  get; set; }
        /// <summary>
        /// 会议内容
        /// </summary>
        public string? MettingContent {  get; set; }
        /// <summary>
        /// 会议口令
        /// 0：关闭，1：开启
        /// </summary>
        public int Command {  get; set; }
        /// <summary>
        /// 短信通知
        /// 0：否，1：是
        /// </summary>
        public int Inform {  get; set; }
        /// <summary>
        /// 是否远程会议
        /// 0：否，1：是
        /// </summary>
        public int LongDistance {  get; set; }
        /// <summary>
        /// 状态
        /// 0：待审批，1：已审批，2：已结束
        /// </summary>
        public int State {  get; set; }
    }
}
